import { createRouter, createWebHistory } from 'vue-router'
import Props from '../pages/props/Father.vue'
import custom from '../pages/custom-event/Father.vue'
import mitt from '../pages/mitt/Father.vue'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/props',
      component: Props
    },
    {
      path: '/custom',
      component: custom
    },
    {
      path: '/mitt',
      component: mitt
    }
  ]
})

export default router